package kcms.ppt.service;

import java.util.List;

import kcms.db.CourseJiaoke;
import kcms.db.Ppt;
import kcms.db.PptAndContent;
import kcms.db.PptTeaContent;
import kcms.db.Pptcontent;
import kcms.db.User;

public interface PptService {

	public int queryPptId(String cid,String csn,String chapter);

	public Pptcontent deletePptResourceByPptid(Integer pptid);

	public Ppt createNewPptid(String cid,String csn,String chapter);

	public boolean saveContentRecord(Integer pptid, String generatedname,
			String originalname, String description);

	public List<CourseJiaoke> getAllCourseAttendedBy(User u);

	public List<PptAndContent> listPpt(String[] checkbox, String search, String startdate, String enddate, int currentpage, int pagesize);

	public Pptcontent getRealFileNameByPptid(String pptid);

	public List<PptTeaContent> listPptByTid(String id);

	public boolean deletePptByPptid(String pptid);

	public boolean deleteAllPptStatusByPptid(String pptid);
	
}
